package main;

import main.aspect.AspectBiz;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import sun.awt.AppContext;

public class HelloWorld {

    private String name;

    public static void main(String[] args){


        ApplicationContext ctx = new ClassPathXmlApplicationContext("spring-config.xml");
        AspectBiz biz = (AspectBiz) ctx.getBean("aspectBiz");
        biz.say();

    }

//    public void say(String word){
//        System.out.println("say : " + word);
//    }
//
}
